﻿namespace Step4.Unit4.Models
{
    public class ParentSource
    {
        public int Id { get; set; }
        public string? Name { get; set; }
    }

    public class ChildSource : ParentSource
    { 
        public int Money { get; set; }
    }

    public class ParentTo
    {
        public int Id { get; set; }
        public string? Name { get; set; }
    }


    public class ChildTo:ParentTo
    {
        public int Id { get; set; }
        public string? Name { get; set; }
    }
}
